<?php
html::printPath(
	array(
		'registration.form-title' => 'admin/registration/listing?seminar_id=' . $registration['seminar_id'],
        text::get('registration-number', $registration['id']) => '/admin/registration/display?id=' . $registration['id'],
        'registration.keyDeposit-title' => ''
    ),
    'registration.keyDeposit-desc'
);
$msg->printMessages();

$fb = new FormBuilder('registration', $registration);
$fb->setAction('/admin/registration/keyDepositSave');
$fb->text('key_deposit')->required();
if ($registration['key_deposit']) {
    $fb->yesNoBox('is_key_returned')->noEmptyOption();
}
$fb->submitButton();
$fb->write();
?>

<script type="text/javascript">focusFieldInDialogOpenByAjax('key_deposit');</script>

